#include "Utils.h"

bool
Utils::
inRect (Sint16 x, Sint16 y, SDL_Rect *rect) {
 return (
  (x >= rect->x) && (x < rect->x + rect->w) &&
  (y >= rect->y) && (y < rect->y + rect->h)
 );
}

